﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MangoMes.Commont.DTOs
{
    /// <summary>
    /// 生产领料Dto
    /// </summary>
    public class PickingsDto
    {
        /// <summary>
        /// 主键ID
        /// </summary>
        public int PickingId { get; set; }
        /// <summary>
        /// 领料单编号（自动生成）
        /// </summary>
        public string? PickingNode { get; set; }
        /// <summary>
        /// 领料单名称
        /// </summary>
        public string? PickingName { get; set; }
        /// <summary>
        /// 领料日期
        /// </summary>
        public DateTime? PickingTime { get; set; }
        /// <summary>
        /// 生产工单（生产工单表 ProductionOrders）
        /// </summary>
        //public int ProductionWorkOrdersID { get; set; }
        /// <summary>
        /// 工作站ID （）
        /// </summary>
        public int Workid { get; set; }
        /// <summary>
        /// 工作站名称
        /// </summary>
        public string? WorkStationName { get; set; }
        /// <summary>
        /// 工作站编号
        /// </summary>
        public string? WorkStations { get; set; }
        /// <summary>
        /// 客户id
        /// </summary>
        public int ClientId { get; set; }
        /// <summary>
        /// 客户名称
        /// </summary>
        public string? ClientName { get; set; }
        /// <summary>
        /// 客户编号
        /// </summary>
        public string? ClientNo { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string? Remark { get; set; }
        public int Documents { get; set; }
        /// <summary>
        /// 生产工单No
        /// </summary>
        public string ProductionWorkOrdersNo { get; set; }
        /// <summary>
        /// 生产工单名称
        /// </summary>
        public string ProductionWorkOrdersName { get; set; }
        /// <summary>
        /// 来源类型
        /// </summary>
        public string Source { get; set; }
        /// <summary>
        /// 工单类型
        /// </summary>
        public string TicketsType { get; set; }
        /// <summary>
        /// 订单编号
        /// </summary>
        public string? OrderNumber { get; set; }
        /// <summary>
        /// 产品编号
        /// </summary>
        public string ProductsNo { get; set; }
        /// <summary>
        /// 工单数量
        /// </summary>
        public int TicketsNum { get; set; }
        /// <summary>
        /// 客户编码
        /// </summary>
        public string? CustomerNo { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int State { get; set; }
        /// <summary>
        /// 需求日期
        /// </summary>
        public DateTime? DemandDate { get; set; }
        /// <summary>
        /// 批次号
        /// </summary>
        public string? BatchNo { get; set; }
        /// <summary>
        /// 二维码数据
        /// </summary>
        public string? QrCore { get; set; }
        /// <summary>
        /// 工作站地点
        /// </summary>
        public string WorkStationlocation { get; set; }
        /// <summary>
        /// 所在车间
        /// </summary>
        public int workshopid { get; set; }
        /// <summary>
        /// 所需工序
        /// </summary>
        public int processid { get; set; }
        /// <summary>
        /// 是否启用
        /// </summary>
        public int isno { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string WorkStationRemarks { get; set; }
        /// <summary>
        /// 工序名称
        /// </summary>
        public string ProcessName { get; set; }
        /// <summary>
        /// 车间名称
        /// </summary>
        public string workshopName { get; set; }
        public int PickingStatus { get; set; }
    }
}
